#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"
void Test01()
{
	Stack S;
	StackInit(&S);
	StackPush(&S, 1);
	StackPush(&S, 2);
	StackPush(&S, 3);
	StackPush(&S, 4);
	StackPush(&S, 5);
	//StackPop(&S);
	//StackPop(&S);
	//StackPop(&S);
	//StackPop(&S);
	//StackPop(&S);
	//while (S.top!=0)
	//{
	//	STDataType ret = StackData(&S);
	//	printf("%d ", ret);
	//	StackPop(&S);
	//}
	//printf("%d", StackSize(&S));
	StackDestory(&S);

}
int main()
{
	Test01();
	return 0;
}